projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b4bfba
)
dnd: pass hotspot to GDK
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 8 Dec 2015 02:54:55 +0000
(21:54 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 8 Dec 2015 02:54:55 +0000
(21:54 -0500)
This uses the new api introduced in the previous commits.
gtk/gtkdnd.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd.c
b/gtk/gtkdnd.c
index 20ec74e04feb42f3346aad88414d12de968b3d40..eba82c9e64688d7058262c002b7d4ef9c7027ad0 100644
(file)
--- a/
gtk/gtkdnd.c
+++ b/
gtk/gtkdnd.c
@@
-2468,6
+2468,8
@@
gtk_drag_set_icon_window (GdkDragContext *context,
if (!widget)
goto out;
+ gdk_drag_context_set_hotspot (context, hot_x, hot_y);
+
if (!info->icon_window)
{
GdkScreen *screen;